futures-fs
Access File System operations off-thread, using Future
s and Stream
s.
Usage
let fs = default;
// our source file
let read = fs.read;
// default writes options to create a new file
let write = fs.write;
// block this thread!
// the reading and writing however will happen off-thread
read.forward.wait
.expect;